<!DOCTYPE html>
<html>
<head>
    <title>备件模次统计</title>
    #parse("sys/header.html")
    <style>
        .ui-jqgrid {
            width: 100%;
            float: right;
        }

        .sugon_upload_btn {
            display: -webkit-inline-box;
            display: inline-block;
        }

        ::-webkit-scrollbar {
            width: 10px;
            height: 10px;
        }

        ::-webkit-scrollbar-thumb {
            border-radius: 10px;
            -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
            background: #a8a5a5;
        }

        .leftHeight {
            height: 85vh;
            overflow: auto;
        }

        .workShop {
            position: absolute;
            top: 0;
            width: auto;
            height: 25px;
            z-index: 999;
            background-color: white;
        }
    </style>
</head>
<body>

<div id="rrapp" v-cloak>
    <Row :gutter="16" style="margin: 8px 0px 0px 1px">
        <div class="search-group">
            <i-col span="4">
                <i-input v-model="q.moduleNo" @on-enter="query" placeholder="请输入模具号"/>
            </i-col>
            <i-button @click="query">查询</i-button>
            <i-button @click="reloadSearch">重置</i-button>
        </div>
    </Row>
    <Row :gutter="16" style="margin: 8px 0px 0px 1px;">
        <i-col :xs="3" :sm="3" :md="3" :lg="3">
            <div class="leftHeight">
                <div class="workShop">
                    <p class="text-center" style="font-size: 15px;">模具分类</p>
                </div>
                <div id="storeLayer" style="margin-top: 25px">
                    <ul id="typeTree" class="ztree"></ul>
                </div>
            </div>
        </i-col>
        <i-col :xs="21" :sm="21" :md="21" :lg="21">
            <table id="jqGrid"></table>
        </i-col>
    </Row>
    <!--弹窗提示-->
    <div>
        <Modal
                v-model="detailModal1"
                title="模次统计详情"
                width="400"
        >
            <div slot="footer">
                <i-button type="Default" size="Default" @click="cancel">取消</i-button>
                <i-button type="primary" size="Default" @click="ok">确定</i-button>
            </div>
            <div>
                <i-form :label-width="120" :model="detailParam" ref="formValidate" :rules="ruleValidates">
                    <Form-item label="最近多少天" prop="days">
                        <i-input v-model="detailParam.days" placeholder="请输入查看天数" style="width: 200px" type="number"></i-input>
                    </Form-item>
                    <Form-item label="操作" prop="action">
                        <i-select v-model="detailParam.action" placeholder="请选择操作类型" style="width: 200px">
                            <i-option value="onlinePreview">在线预览</i-option>
                            <i-option value="download">下载</i-option>
                        </i-select>
                    </Form-item>
                </i-form>
            </div>
        </Modal>
    </div>
</div>
<script src="${rc.contextPath}/js/module/moldTimesStat.js?_${date.systemTime}"></script>
</body>
</html>

